package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.project.bean.DisasterPrevention.ClassBean;
import org.apache.ibatis.annotations.Param;


public interface IClassMapper extends BaseMapper<ClassBean> {


    Page<ClassBean> findCutClass(Page<ClassBean> page, @Param("className") String className, @Param("regionName") String regionName);

    public ClassBean findClass(int classId);

    void addClass(ClassBean classBean);


}
